
import request from "@/utils/request";
// 新增合同模板分享
export function getContractTemplateByShareCode(shareCode) {
  return request({
    url: '/ec/contractTemplateShare/getContractTemplateByShareCode',
    method: 'get',
    params: shareCode
  })
}

// 生成分享码
export function getShareCode(data) {
  return request({
    url: '/ec/contractTemplateShare/getShareCode',
    method: 'get',
    params: data
  })
}

// 确认分享
export function confirmShareCode(data) {
  return request({
    url: '/ec/contractTemplateShare/confirmShareCode',
    method: 'get',
    params: data
  })
}
// 取消分享
export function cancelShareCode(data) {
  return request({
    url: '/ec/contractTemplateShare/cancelShareCode',
    method: 'get',
    params: data
  })
}
